home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
dev
/
c
/
crcPPC.readme
< prev
next >
Wrap
Text File
|
1998-05-05
|
3KB
|
82 lines
Short: Fast CRC tools & sources (PPC and 68k)
Author: unknown
Uploader: Andreas_Kleinert@t-online.de
Type: dev/c
Replaces: crc.lha
CRC2, CRCFast and CRCTab ports for 68k and PPC,
including sources. Author unknown.
The difference 68k -> PPC gets significant
on large files, e.g. greater 1 MB.
1.0: - PPC/68k port for Amiga
1.1: - changed "unsigned int" to "unsigned short int" in
both, crc2.c and crcfast.c
- no more regargs for the 68k version (PPC, too)
- fixed array overflow in crcfast.c
- hopefully works ok now - if not, feel free to
send bug reports by *email*
--
ARK, 17/Mar/98
*************************************************************************************
Cyclic Redundancy Check
---------------------------------------------------------
This archive includes the following three files:
crc2.c Computes crc by bit shifting
crcfast.c Computes crc by table lookup
crctab.c Computes tables used in crcfast.c
crc.doc This file
The utilities crc2 and crcfast compute the cyclic redundancy checks
for both the crc-16 (used in arc files) and crc-ccitt (used in xmodem).
crcfast is faster than crc2. These routines compute the crc's for a
given file as a means of checking data integrity.
These routines compile without change under Turbo C. All are
short and illustrate the basic principles of crc calculations.
CRC References:
C Programmer's Guide to Serial Communications, J. Compbell,
Howard W. Sams & Co.,(1987)
The Great CRC Mystery, T. Ritter, Dr. Dobb's Journal,
(February 1986)
Byte-Wise CRC Calculations, A. Perez, Wismer, & Becker,
IEEE Micro, (June 1983)
*************************************************************************************
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
933 514 44.9% 11-Mar-98 14:42:30 +crc.doc
10412 6662 36.0% 17-Mar-98 18:31:14 +crc2
2080 909 56.2% 17-Mar-98 18:30:52 +crc2.c
34080 15504 54.5% 17-Mar-98 18:31:32 +crc2.elf
835 391 53.1% 11-Mar-98 14:38:58 +crc2.info
11380 7725 32.1% 17-Mar-98 18:31:18 +crcfast
6179 2509 59.3% 17-Mar-98 18:29:36 +crcfast.c
35070 16558 52.7% 17-Mar-98 18:31:38 +crcfast.elf
835 395 52.6% 11-Mar-98 14:39:02 +crcfast.info
1887 881 53.3% 17-Mar-98 18:41:14 +crcPPC.readme
8272 5344 35.3% 17-Mar-98 18:31:22 +crctab
1635 673 58.8% 11-Mar-98 14:32:22 +crctab.c
26992 12638 53.1% 17-Mar-98 18:31:44 +crctab.elf
835 388 53.5% 11-Mar-98 14:39:04 +crctab.info
189 131 30.6% 17-Mar-98 18:27:02 +SCOPTIONS
483 148 69.3% 11-Mar-98 14:32:56 +smakefile
438 143 67.3% 11-Mar-98 14:38:14 +smakefile68k
-------- ------- ----- --------- --------
142535 71513 49.8% 17-Mar-98 20:56:08 17 files